import request from '@/utils/request.js'
// 登录
export function apiLogin(data) {
  return request.request({
    url: "/test/login",
    method: "POST",
    data,
  });
}

// 用户详情
export function apiUserDetail(data) {
  return request.request({
    url: "/test/user/detail",
    data,
  });
}

// 用户注销
export function apiLogout(data) {
  return request.request({
    url: "/test/logout",
    data,
  });
}

// 广告接口
export function apiAd(data) {
  return request.request({
    url: "/adMock",
    data,
  });
}
